package com.stony.orc;

/**
 * <p>orcTest
 * <p>com.stony.orc
 *
 * @author stony
 * @version 上午11:11
 * @since 2017/11/16
 */
public class Tonic {
    String name;
    /** 克 */
    double weight;

    public Tonic() {
    }
    public Tonic(String name, double weight) {
        this.name = name;
        this.weight = weight;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    @Override
    public String toString() {
        return "Tonic{" +
                "name='" + name + '\'' +
                ", weight=" + weight +
                '}';
    }
}